package com.cus.shd.sharingjdbc.model;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 *
 * @author lcc
 * @since 2021-10-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class RecordOrderLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 落地派送ID
     */
    private Long orderDeliveryId;

    /**
     * 运单id
     */
    private Long goodId;

    /**
     * 运单号
     */
    private String goodNumber;

    /**
     * 最新标识:0:旧的;1:最新
     */
    private Integer flag;

    /**
     * 触发场景
     */
    private Integer operateScene;

    /**
     * 操作类型
     */
    private Integer operateType;

    /**
     * 描述
     */
    private String description;

    /**
     * 操作人id
     */
    private Long operatorId;

    /**
     * 操作人
     */
    private String operator;

    /**
     * 操作时间
     */
    private LocalDateTime operatedTime;

    /**
     * 日志跟踪id
     */
    private String traceId;

    /**
     * 创建人
     */
    private String createdBy;

    /**
     * 创建时间
     */
    private LocalDateTime creationDate;

    /**
     * 最后更新人
     */
    private String updatedBy;

    /**
     * 最后更新时间
     */
    private LocalDateTime updationDate;

    /**
     * 是否有效(1:有效,0:无效)
     */
    private Integer enabledFlag;

    /**
     * 操作方，京东操作或其他操作
     */
    private Integer operateOther;


    public static final String ID = "id";

    public static final String ORDER_DELIVERY_ID = "order_delivery_id";

    public static final String GOOD_ID = "good_id";

    public static final String GOOD_NUMBER = "good_number";

    public static final String FLAG = "flag";

    public static final String OPERATE_SCENE = "operate_scene";

    public static final String OPERATE_TYPE = "operate_type";

    public static final String DESCRIPTION = "description";

    public static final String OPERATOR_ID = "operator_id";

    public static final String OPERATOR = "operator";

    public static final String OPERATED_TIME = "operated_time";

    public static final String TRACE_ID = "trace_id";

    public static final String CREATED_BY = "created_by";

    public static final String CREATION_DATE = "creation_date";

    public static final String UPDATED_BY = "updated_by";

    public static final String UPDATION_DATE = "updation_date";

    public static final String ENABLED_FLAG = "enabled_flag";

    public static final String OPERATE_OTHER = "operate_other";

}
